<?php use_helper('jQuery')?>
<div id="indicator">Data processing beginning</div>
<?php echo jq_javascript_tag(
        jq_update_element_function('indicator',array(
            'position' => 'after',
            'content' => '<strong>Data processing complete</strong>',
        ))
        ) ?>

<table>
    <thead>
        <tr><h3>Datos del portal</h3></tr>
    </thead>
    <tfoot>
        <tr>
            <td>

                

                  <?php echo jq_link_to_remote('a',array(
                        'update'  => 'indicator',
                        'url'     =>  url_for('portal_edit', $portal),
                        ))
                    ?>
<!--               <a class="edit"
                  title="Editar"
                  href="javascript:ejecutarEditarPortal()"
                  name="<?php echo url_for('portal_edit', $portal)?>"/>-->
            </td>
        </tr>
    </tfoot>
    <tbody>
        <tr>
            <th><label>Nombre:</label></th>
            <td><?php echo $portal->getTitle() ?></td>
        </tr>
        <tr>
            <th><label>URL:</label></th>
            <td><?php echo $portal->getDomainUrl() ?></td>
        </tr>
        <tr>
            <th><label>Publicado:</label></th>
            <td>
                <?php if($portal->getPublished()): ?>
                    <img alt="Sí" src="/images/util/check.png"/>
                <?php else: ?>
                    <img alt="No" src="/images/util/cross.png"/>
                <?php endif; ?>
            </td>
        </tr>
        <tr>
            <th><label>Ultima modificación:</label></th>
            <td><?php echo $portal->getUpdatedAt()?></td>
        </tr>
    </tbody>
</table>


























